<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Orders</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag 'xchain' %>
<link href="/stylesheets/main_stylesheet.css" rel="stylesheet" type="text/css"/>
<!--[if lte IE 7]>
<link href="/stylesheets/patches/patch_2col_right_13.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div id="page_margins">
	<div id="page">
		<div id="header">
			<div id="topnav">
				<span>Logged in as <a href="#">Rowan Hick</a> | <a href="#">Settings</a> | <a href="#">Help</a> | <a href="#">Logout</a></span> </div>
			<h1>XChain</h1>
			<span><a href="#">Home</a> &rsaquo;&rsaquo; <a href="/orders">Orders</a> &rsaquo;&rsaquo; <a href="#">Active Order List</a></span></div>
		<!-- begin: main navigation #nav -->
		<div id="nav"> <a id="navigation" name="navigation"></a>
			<!-- skiplink anchor: navigation -->
			<div id="nav_main">
				<ul>
					<% ['Dashboard', 'Products', 'Orders', 'Customers', 'Inventory', 'Reports', 'Admin'].each do |area| 
						  area.downcase == @controller_name  ? current_text = 'id = "current"' : current_text = '' %>
						  <%= "<li #{current_text.downcase}><a href='/#{area}'>#{area}</a></li>" %>
					<% end %>					
				</ul>
			</div>
		</div>
		<!-- end: main navigation -->
		<%= yield %>
		<!-- begin: #footer -->
		<div id="footer">XChain | Copyright &copy; 2007 RH Consulting | Published under Mozilla Public License 1.1<br />
Layout based on <a href="http://www.yaml.de/">YAML</a></div>
		<!-- end: #footer -->
	</div>
</div>
</body>
</html>
